package com.joysuch.wwyt.attendant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.joysuch.wwyt.attendant.bean.AttendantPlanContentBean;
import com.joysuch.wwyt.attendant.entity.AttendantPlanContent;

import java.util.List;

/**
 * @author xsx
 * @version 1.0
 * @date 2023/2/15 11:38
 */
public interface AttendantPlanContentService extends IService<AttendantPlanContent> {

    /**
     * 根据跟班计划id查询跟班内容
     *
     * @param id
     * @return
     */
    List<AttendantPlanContent> selectByPlanId(Long id);

    List<AttendantPlanContentBean> selectBeanByPlanId(Long id);

    List<Long> selectIdsByPlanId(Long id);

    void deleteByPlanId(Long planId);

    List<AttendantPlanContentBean> selectBeanByPlanIds(List<Long> ids);
}
